<!DOCTYPE html>
<html>
<link href="resources/flexbox.css" rel="stylesheet">
<style>
.flexbox {
    width: 500px;
    height:100px;
    background: green;
}

.flexbox > div {
    width: 50px;
    background: yellow;
}
</style>
<script src="../../resources/check-layout.js"></script>
<body onload="checkLayout('.flexbox')">
<div class="flexbox">
    <div data-expected-width="50" style="flex: 1 0% 1"></div>
    <div data-expected-width="50" style="flex: 1 0% 1"></div>
    <div data-expected-width="50" style="flex: 1 0% 1"></div>
</div>

<div class="flexbox">
    <div data-expected-width="50" style="flex: 1 auto 1"></div>
    <div data-expected-width="50" style="flex: 1 auto 1"></div>
    <div data-expected-width="50" style="flex: 1 auto 1"></div>
</div>
</body>
</html>